﻿Imports SIGI.Common.BE
Imports SIGI.BackEnd.BC

Public Class ProfileSVC

#Region "<< -Search- >>"
    Public Shared Function Search() As List(Of ProfileBE)
        Return ProfilesBC.Search()
    End Function
#End Region

#Region "<< -Insert- >>"
    Public Shared Function Insert(pProfileDescription As String, pProfileScreenList As List(Of Profile_ScreenBE)) As Integer
        Return ProfilesBC.Insert(pProfileDescription, pProfileScreenList)
    End Function
#End Region

#Region "<< -Update- >>"
    Public Shared Sub Update(pPermissionxScreenList As List(Of Profile_ScreenBE))
        ProfilesBC.Update(pPermissionxScreenList)
    End Sub
#End Region

#Region "<< -Delete- >>"
    Public Shared Sub Delete(pProfileId As Integer)
        ProfilesBC.Delete(pProfileId)
    End Sub
#End Region

End Class
